home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Linux Cubed Series 7: Sunsite
/
Linux Cubed Series 7 - Sunsite Vol 1.iso
/
system
/
admin
/
linuxcon.000
/
linuxcon
/
linuxconf-1.6
/
userconf
/
internal.h
< prev
next >
Wrap
C/C++ Source or Header
|
1996-07-21
|
1KB
|
63 lines
#pragma interface
#ifndef INTERNAL_H
#define INTERNAL_H
#ifndef MISC_H
#include "../misc/misc.h"
#endif
class USERCONF_HELP_FILE: public HELP_FILE{
/*~PROTOBEG~ USERCONF_HELP_FILE */
public:
USERCONF_HELP_FILE (const char *fname);
/*~PROTOEND~ USERCONF_HELP_FILE */
};
class PASSWD_VALID{
public:
int minlen;
int minnonalpha;
/*~PROTOBEG~ PASSWD_VALID */
public:
PASSWD_VALID (void);
void edit (void);
void write (void);
/*~PROTOEND~ PASSWD_VALID */
};
class SHADOW: public ARRAY_OBJ{
friend class SHADOWS;
friend class USER;
SSTRING name;
SSTRING passwd;
int last;
int may;
int must;
int warn;
int expire;
int disable;
SSTRING reserved;
/*~PROTOBEG~ SHADOW */
public:
SHADOW (const char *line);
SHADOW (void);
const char *getpwd (void);
void write (FILE *fout);
/*~PROTOEND~ SHADOW */
};
class SHADOWS: public ARRAY{
/*~PROTOBEG~ SHADOWS */
public:
SHADOWS (void);
SHADOW *getitem (const char *name);
SHADOW *getitem (int no);
int write (void);
/*~PROTOEND~ SHADOWS */
};
#endif